package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.RepairManagement;

import java.util.List;

/**
 * 故障报修管理Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-19
 */
public interface RepairManagementMapper {
    /**
     * 查询故障报修管理
     *
     * @param repairCode 故障报修管理主键
     * @return 故障报修管理
     */
    public RepairManagement selectRepairManagementByRepairCode(String repairCode);

    /**
     * 查询故障报修管理列表
     *
     * @param repairManagement 故障报修管理
     * @return 故障报修管理集合
     */
    public List<RepairManagement> selectRepairManagementList(RepairManagement repairManagement);

    /**
     * 新增故障报修管理
     *
     * @param repairManagement 故障报修管理
     * @return 结果
     */
    public int insertRepairManagement(RepairManagement repairManagement);

    /**
     * 修改故障报修管理
     *
     * @param repairManagement 故障报修管理
     * @return 结果
     */
    public int updateRepairManagement(RepairManagement repairManagement);

    /**
     * 删除故障报修管理
     *
     * @param repairCode 故障报修管理主键
     * @return 结果
     */
    public int deleteRepairManagementByRepairCode(String repairCode);

    /**
     * 批量删除故障报修管理
     *
     * @param repairCodes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRepairManagementByRepairCodes(String[] repairCodes);

    List<RepairManagement> xialaxuan();
}
